14. Linear Regression

Build a linear regression model using the length of the combined Title + Body fields. What is the value of r^2 when fitting a model with maxIter=5, regParam=0.0, fitIntercept=False, solver="normal"?

SOLUTION: 0.44

QUESTION:

What error message do you see if you try to use the column with Integers instead of vectors?

SOLUTION:

These answers need to be solved by yourself, I believe you can do it